import { authRequest } from "@/request";

export const postLogin = (body: any) =>{
    return authRequest.post("/index/login",body);
}

// 获取个人信息
export const getInfo = () =>{
    return authRequest.get("/index/login");
}

// 退出登录
export const postLogout = ()=>{
    return authRequest.post("/index/logout");
}
